#-------------------------------------------------
#
# Project created by QtCreator 2018-11-29T12:25:02
#
#-------------------------------------------------

#base total pri
include(../include/common.pri)


#QT_MODE core gui sql network widget
QT       += concurrent xml sql

#TYPE  app  lib  sudbibs
TEMPLATE = lib

#TARGET
#TARGET = $$qtLibraryTarget(HMPBundleFrame)
TARGET =  HMPBundleFrame

#DEFINES
DEFINES += HMPBUNDLEFRAMEWORK_LIBRARY
DEFINES += QT_DEPRECATED_WARNINGS

#OUT_INFO
CONFIG(debug, debug|release){
    DESTDIR = $${DEST_DIR_D}
    LIBS        +=-L$${DEST_DIR_D}
    LIBS        +=-lHMPCore
}
CONFIG(release, debug|release){
    DESTDIR = $${DEST_DIR_R}
    LIBS        +=-L$${DEST_DIR_R}
    LIBS        +=-lHMPCore
}


#INCLUDE_PATH
INCLUDEPATH += $$PWD
INCLUDEPATH += $${INCLUDE_DIR}
INCLUDEPATH += $${INCLUDE_DIR}/HMPCore
INCLUDEPATH += $${INCLUDE_DIR}/HMPBundleFrame
INCLUDEPATH += $${INCLUDE_DIR}/services

#SOURCES_FILE
SOURCES += \
    ApplicationRunnable.cpp \
    BasicLocation.cpp \
    DefaultApplicationLauncher.cpp \
    LDAPExpr.cpp \
    LDAPSearchFilter.cpp \
    LocationManager.cpp \
    IBundle.cpp \
    Bundle_p.cpp \
    BundleAbstractTracked.tpp \
    BundleArchive.cpp \
    BundleArchiveSQL.cpp \
    BundleConstants.cpp \
    IBundleContext.cpp \
    BundleDatabaseException.cpp \
    BundleEvent.cpp \
    BundleException.cpp \
    BundleFramework.cpp \
    BundleFramework_p.cpp \
    BundleFrameworkContext.cpp \
    BundleFrameworkDebug.cpp \
    BundleFrameworkDebugOptions.cpp \
    BundleFrameworkEvent.cpp \
    BundleFrameworkFactory.cpp \
    BundleFrameworkLauncher.cpp \
    BundleFrameworkListeners.cpp \
    BundleFrameworkProperties.cpp \
    BundleFrameworkUtil.cpp \
    BundleLocalization.cpp \
    BundleManifest.cpp \
    Bundles.cpp \
    BundleStorageSQL.cpp \
    BundleTracker.tpp \
    BundleTracker_p.tpp \
    RequireBundle.cpp \
    ServiceEvent.cpp \
    ServiceException.cpp \
    ServiceProperties.cpp \
    IServiceReference.cpp \
    ServiceReference_p.cpp \
    IServiceRegistration.cpp \
    ServiceRegistration_p.cpp \
    Services.cpp \
    ServiceSlotEntry.cpp \
    ServiceTracker.tpp \
    ServiceTracker_p.tpp \
    TrackedPlugin.tpp \
    TrackedService.tpp \
    Version.cpp \
    VersionRange.cpp \
    service/application/ApplicationDescriptor.cpp \
    service/application/ApplicationException.cpp \
    service/application/ApplicationHandle.cpp \
    service/cm/Configuration.cpp \
    service/cm/ConfigurationAdmin.cpp \
    service/cm/ConfigurationEvent.cpp \
    service/cm/ConfigurationException.cpp \
    service/cm/ConfigurationBundle.cpp \
    service/datalocation/Location.cpp \
    service/debug/DebugOptions.cpp \
    service/event/Event.cpp \
    service/event/EventConstants.cpp \
    service/log/LogService.cpp \
    service/log/LogStream.cpp \
    service/metatype/AttributeDefinition.cpp \
    service/metatype/MetaTypeProvider.cpp \
    service/metatype/MetaTypeService.cpp \
    AutoPtr.cpp


#HEADERS_FILE
HEADERS += \
    ApplicationRunnable.h \
    BasicLocation_p.h \
    DefaultApplicationLauncher_p.h \
    Dictionary.h \
    LDAPExpr_p.h \
    LDAPSearchFilter.h \
    LocationManager_p.h \
    IBundle.h \
    Bundle_p.h \
    BundleAbstractTracked_p.h \
    IBundleActivator.h \
    BundleArchive_p.h \
    BundleArchiveSQL_p.h \
    BundleConstants.h \
    IBundleContext.h \
    BundleContext_p.h \
    BundleDatabaseException.h \
    BundleEvent.h \
    BundleException.h \
    BundleFramework.h \
    BundleFramework_global.h \
    BundleFramework_p.h \
    BundleFrameworkContext_p.h \
    BundleFrameworkDebug_p.h \
    BundleFrameworkDebugOptions_p.h \
    BundleFrameworkEvent.h \
    BundleFrameworkFactory.h \
    BundleFrameworkLauncher.h \
    BundleFrameworkListeners_p.h \
    BundleFrameworkProperties_p.h \
    BundleFrameworkUtil_p.h \
    BundleLocalization.h \
    BundleManifest_p.h \
    Bundles_p.h \
    BundleStorage_p.h \
    BundleStorageSQL_p.h \
    BundleTracker.h \
    BundleTracker_p.h \
    BundleTrackerCustomizer.h \
    RequireBundle_p.h \
    ServiceEvent.h \
    ServiceException.h \
    ServiceFactory.h \
    ServiceProperties_p.h \
    IServiceReference.h \
    ServiceReference_p.h \
    IServiceRegistration.h \
    ServiceRegistration_p.h \
    Services_p.h \
    ServiceSlotEntry_p.h \
    ServiceTracker.h \
    ServiceTracker_p.h \
    ServiceTrackerCustomizer.h \
    TrackedPlugin_p.h \
    TrackedBundleListener_p.h \
    TrackedService_p.h \
    TrackedServiceListener_p.h \
    Version.h \
    VersionRange_p.h \
    service/application/ApplicationDescriptor.h \
    service/application/ApplicationException.h \
    service/application/ApplicationHandle.h \
    service/application/ApplicationLauncher.h \
    service/cm/Configuration.h \
    service/cm/ConfigurationAdmin.h \
    service/cm/ConfigurationEvent.h \
    service/cm/ConfigurationException.h \
    service/cm/ConfigurationListener.h \
    service/cm/ConfigurationBundle.h \
    service/cm/ManagedService.h \
    service/cm/ManagedServiceFactory.h \
    service/datalocation/Location.h \
    service/debug/DebugOptions.h \
    service/debug/DebugOptionsListener.h \
    service/event/Event.h \
    service/event/EventAdmin.h \
    service/event/EventConstants.h \
    service/event/EventHandler.h \
    service/log/LogEntry.h \
    service/log/LogListener.h \
    service/log/LogReaderService.h \
    service/log/LogService.h \
    service/log/LogStream.h \
    service/metatype/AttributeDefinition.h \
    service/metatype/MetaTypeInformation.h \
    service/metatype/MetaTypeProvider.h \
    service/metatype/MetaTypeService.h \
    service/metatype/ObjectClassDefinition.h \
    hmpbundleframe_global.h \
    AutoPtr.h

#INSTALLS
unix {
    target.path = /usr/lib
    INSTALLS += target
}


